package com.panshi.qa.provider.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.panshi.qa.api.vo.QaQuestionFrontdesk;
import com.panshi.qa.provider.modules.domain.QaQuestionUncheck;
import com.panshi.vo.R;

import javax.mail.MessagingException;

public interface QaQuestionUncheckService extends IService<QaQuestionUncheck> {
    //添加问题到未审核表中
    R insertQaQuestionUncheck(QaQuestionFrontdesk qaQuestionFrontdesk);
    //根据标题查询是否存在该标题
    QaQuestionUncheck queryTitle(String question);
    //根据ID修改指定未审核问题表对象
    R updateQaQuestionUncheck(com.panshi.qa.api.vo.QaQuestionUncheck qaQuestionUncheck) throws MessagingException;
    //根据指定的Id删除未审核表信息
    R deleteUncheckQuestion(int id);
}
